
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGGroup.h>
#include <OpenSG/OSGGroupBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_Group_dump_overloads_0_2, dump, 0, 2)


}// namespace


// Module ======================================================================
void Export_src_pyste_gen_Group()
{
    class_< osg::GroupBase, bases< osg::NodeCore > , boost::noncopyable >("GroupBase", no_init)
//        .def_readonly("MTInfluenceMask", &osg::GroupBase::MTInfluenceMask)
        .def("getClassType", &osg::GroupBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::GroupBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::GroupBase::*)() )&osg::GroupBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::GroupBase::*)() const)&osg::GroupBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::GroupBase::getContainerSize)
        .def("getBinSize", &osg::GroupBase::getBinSize)
        .def("copyToBin", &osg::GroupBase::copyToBin)
        .def("copyFromBin", &osg::GroupBase::copyFromBin)
        .def("create", &osg::GroupBase::create)
        .def("createEmpty", &osg::GroupBase::createEmpty)
        .def("shallowCopy", &osg::GroupBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    ;

    class_< osg::Group, bases< osg::GroupBase > , boost::noncopyable, osg::GroupRefPtr >("Group", no_init)
        .def("changed", &osg::Group::changed)
        .def("dump", &osg::Group::dump, osg_Group_dump_overloads_0_2())
    ;


    register_ptr_to_python<osg::GroupPtr>();
    implicitly_convertible<osg::GroupRefPtr, osg::GroupPtr>();
    implicitly_convertible<osg::GroupPtr, osg::NodeCorePtr>();

    def("RefPtr", &pyopensg::ToRefPtr<osg::GroupPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::GroupPtr>);
}

